package com.icehand.canal.client.transfer;

import com.alibaba.otter.canal.client.CanalConnector;
import com.icehand.canal.annotation.HandlePoint;
import com.icehand.canal.client.Point;
import com.icehand.canal.config.CanalConfig;
import com.icehand.canal.handler.CanalHandler;

import java.util.List;

/**
 * @author icehand
 */
public interface TransponderFactory {
    MessageTransponder newTransponder(CanalConnector connector, CanalConfig.Instance instance, String key, List<CanalHandler> handlers,
                                      List<Point> points);
}
